package com.ruoyi.workbench.domain;

import com.ruoyi.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

/**
 * @author hanjiafeng
 * @date 2021/3/7 15:09
 * @desc 部门导入模板
 */
public class PhysicalUnitImportTemplate {
    @Getter
    @Setter
    @Excel(name = "单元名称")
    private String unitName;
    @Getter
    @Setter
    @Excel(name = "单元类型")
    private Byte unitType;
    @Getter
    @Setter
    @Excel(name = "单元等级")
    private Byte unitLevel;
    @Getter
    @Setter
    @Excel(name = "上级单元名称")
    private String lastUnitName;
    @Getter
    @Setter
    @Excel(name = "上上级单元id")
    private Long lastLastUnitId;

    @Override
    public String toString() {
        return "单元名称='" + unitName +
                ", 单元类型=" + unitType +
                ", 单元等级=" + unitLevel +
                ", 上级单元名称='" + lastUnitName +
                ", 上上级单元名称=" + lastLastUnitId;
    }
}
